! #mask says where (e.g. "NAME 2") and #numTRAN is TRAN number in that parent)
! For _PLC, the TRAN exists, for NAME it may not
#numTRAN+=1
if @rec="_PLC"
  newline
  cell label,local("TRAN")&":"
  set tabwidth -1 alignment right
  set Offset 2
  
  cell EditValue
  set Width -1
  help local("Enter place name translation")


  Show LANG #msg&" "&#numTRAN
  Show _TLIT
else
  newline
  cell label,local("NAME")&":"
  SizeToFit
  Offset 2

  #vlink=#vpos$
  cell EditValue
  set Width #rightMargin$-#hpos$-40
  help local("Enter name using slashes for surname if needed")

  set ScriptLink "Make_UPPERCASE_NAME.gcscpt" ScriptType "format"

  set ScriptLink "Make_Uppercase_SURNAME.gccpt" ScriptType "format"

  set ScriptLink "Make_Titlecase_Name.gcscpt" ScriptType "format"


  HSkip #cellSkip$
  #hlink=#hpos$
  if tagexists
    Show LANG #msg&" "&#numTRAN
    Show _TLIT #hlink
  endif
  newline
  #vnext=#vpos$

  VMoveTo #vlink
  HMoveTo #hlink
  cell StructuresLink,NameDetails,"TRAN"
  set border no
  if more
    set image "details_here"
  else
    set image "details"
  endif
  SizeToFit
  LinkAll all
  help local("Click for translation details")

  VMoveTo #vnext
endif
